class Order < ActiveRecord::Base
  has_paper_trail :version => :paper_trail_version, :versions => :paper_trail_versions
  # attr_accessible :title, :body
  belongs_to :user
  #belongs
  attr_protected
  validates :address, :phone, :contact_name, :user_id, :presence => true

end
